package org.zfes.snowier.cloud.zbss.widget.act.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class ActSubjectJoin extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public ActSubjectJoin() {}
	public ActSubjectJoin(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	@javax.validation.constraints.NotNull(message="所属课堂不能为空")
	  private java.lang.Long subjectId;
	@javax.validation.constraints.NotNull(message="答题者不能为空")
	  private java.lang.Long joinUserId;
	@javax.validation.constraints.NotBlank(message="答题者不能为空")
	@javax.validation.constraints.NotNull(message="答题者不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="答题者长度不能大于50")
	  private java.lang.String joinUserName;
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	  private java.util.Date joinTime;
	//<-------------------------------------------->

	public ActSubjectJoin setSubjectId(java.lang.Long subjectId){
	 this.subjectId=subjectId;
	 return this;
	}
	public java.lang.Long getSubjectId(){
		return this.subjectId;
	}
	public ActSubjectJoin setJoinUserId(java.lang.Long joinUserId){
	 this.joinUserId=joinUserId;
	 return this;
	}
	public java.lang.Long getJoinUserId(){
		return this.joinUserId;
	}
	public ActSubjectJoin setJoinUserName(java.lang.String joinUserName){
		this.joinUserName=joinUserName==null?null:joinUserName.trim();
	 return this;
	}
	public java.lang.String getJoinUserName(){
		return this.joinUserName;
	}
	public ActSubjectJoin setJoinTime(java.util.Date joinTime){
	 this.joinTime=joinTime;
	 return this;
	}
	public java.util.Date getJoinTime(){
		return this.joinTime;
	}

}
